package com.ls.knowledge.llm.vo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.ai.chat.messages.MessageType;


/**
 * @BelongsProject: knowledge
 * @BelongsPackage: com.ls.knowledge.llm.vo
 * @Author: lishun
 * @CreateTime: 2025-06-29  10:30
 * @Description: 聊天消息返回实体
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MessageVo {

    /**
     * 对话消息
     */
    private String conversationId;


    private String message;


    private MessageType messageType;

    private String thinkMessage;

    private Boolean isThink;


    private Boolean startFlag;


    private Boolean endFlag;


    private UsageVo usageVo;


    public MessageVo(String message) {
        this.message = message;
    }
}
